package com.tm.model;

import java.math.BigDecimal;

public class SpOrderSku {
    private Integer id;

    private String orderId;

    private Integer skuId;

    private Integer promoteId;

    private String promoteTypeNo;

    private String skuNo;

    private String skuNotes;

    private String skuUnit;

    private BigDecimal skuAccount;

    private BigDecimal skuOrderPrice;

    private BigDecimal skuCurrentPrice;

    private BigDecimal skuPrice;

    private BigDecimal skuFee;

    private String skuDeliveryDate;

    private BigDecimal skuWeight;

    private BigDecimal skuVolume;

    private String isCommont;

    private String isDelete;

    private String addTime;

    private Integer addUserId;

    private String editTime;

    private Integer editUserId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getPromoteId() {
        return promoteId;
    }

    public void setPromoteId(Integer promoteId) {
        this.promoteId = promoteId;
    }

    public String getPromoteTypeNo() {
        return promoteTypeNo;
    }

    public void setPromoteTypeNo(String promoteTypeNo) {
        this.promoteTypeNo = promoteTypeNo;
    }

    public String getSkuNo() {
        return skuNo;
    }

    public void setSkuNo(String skuNo) {
        this.skuNo = skuNo;
    }

    public String getSkuNotes() {
        return skuNotes;
    }

    public void setSkuNotes(String skuNotes) {
        this.skuNotes = skuNotes;
    }

    public String getSkuUnit() {
        return skuUnit;
    }

    public void setSkuUnit(String skuUnit) {
        this.skuUnit = skuUnit;
    }

    public BigDecimal getSkuAccount() {
        return skuAccount;
    }

    public void setSkuAccount(BigDecimal skuAccount) {
        this.skuAccount = skuAccount;
    }

    public BigDecimal getSkuOrderPrice() {
        return skuOrderPrice;
    }

    public void setSkuOrderPrice(BigDecimal skuOrderPrice) {
        this.skuOrderPrice = skuOrderPrice;
    }

    public BigDecimal getSkuCurrentPrice() {
        return skuCurrentPrice;
    }

    public void setSkuCurrentPrice(BigDecimal skuCurrentPrice) {
        this.skuCurrentPrice = skuCurrentPrice;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    public BigDecimal getSkuFee() {
        return skuFee;
    }

    public void setSkuFee(BigDecimal skuFee) {
        this.skuFee = skuFee;
    }

    public String getSkuDeliveryDate() {
        return skuDeliveryDate;
    }

    public void setSkuDeliveryDate(String skuDeliveryDate) {
        this.skuDeliveryDate = skuDeliveryDate;
    }

    public BigDecimal getSkuWeight() {
        return skuWeight;
    }

    public void setSkuWeight(BigDecimal skuWeight) {
        this.skuWeight = skuWeight;
    }

    public BigDecimal getSkuVolume() {
        return skuVolume;
    }

    public void setSkuVolume(BigDecimal skuVolume) {
        this.skuVolume = skuVolume;
    }

    public String getIsCommont() {
        return isCommont;
    }

    public void setIsCommont(String isCommont) {
        this.isCommont = isCommont;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public Integer getEditUserId() {
        return editUserId;
    }

    public void setEditUserId(Integer editUserId) {
        this.editUserId = editUserId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SpOrderSku other = (SpOrderSku) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getSkuId() == null ? other.getSkuId() == null : this.getSkuId().equals(other.getSkuId()))
            && (this.getPromoteId() == null ? other.getPromoteId() == null : this.getPromoteId().equals(other.getPromoteId()))
            && (this.getPromoteTypeNo() == null ? other.getPromoteTypeNo() == null : this.getPromoteTypeNo().equals(other.getPromoteTypeNo()))
            && (this.getSkuNo() == null ? other.getSkuNo() == null : this.getSkuNo().equals(other.getSkuNo()))
            && (this.getSkuNotes() == null ? other.getSkuNotes() == null : this.getSkuNotes().equals(other.getSkuNotes()))
            && (this.getSkuUnit() == null ? other.getSkuUnit() == null : this.getSkuUnit().equals(other.getSkuUnit()))
            && (this.getSkuAccount() == null ? other.getSkuAccount() == null : this.getSkuAccount().equals(other.getSkuAccount()))
            && (this.getSkuOrderPrice() == null ? other.getSkuOrderPrice() == null : this.getSkuOrderPrice().equals(other.getSkuOrderPrice()))
            && (this.getSkuCurrentPrice() == null ? other.getSkuCurrentPrice() == null : this.getSkuCurrentPrice().equals(other.getSkuCurrentPrice()))
            && (this.getSkuPrice() == null ? other.getSkuPrice() == null : this.getSkuPrice().equals(other.getSkuPrice()))
            && (this.getSkuFee() == null ? other.getSkuFee() == null : this.getSkuFee().equals(other.getSkuFee()))
            && (this.getSkuDeliveryDate() == null ? other.getSkuDeliveryDate() == null : this.getSkuDeliveryDate().equals(other.getSkuDeliveryDate()))
            && (this.getSkuWeight() == null ? other.getSkuWeight() == null : this.getSkuWeight().equals(other.getSkuWeight()))
            && (this.getSkuVolume() == null ? other.getSkuVolume() == null : this.getSkuVolume().equals(other.getSkuVolume()))
            && (this.getIsCommont() == null ? other.getIsCommont() == null : this.getIsCommont().equals(other.getIsCommont()))
            && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getAddUserId() == null ? other.getAddUserId() == null : this.getAddUserId().equals(other.getAddUserId()))
            && (this.getEditTime() == null ? other.getEditTime() == null : this.getEditTime().equals(other.getEditTime()))
            && (this.getEditUserId() == null ? other.getEditUserId() == null : this.getEditUserId().equals(other.getEditUserId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getSkuId() == null) ? 0 : getSkuId().hashCode());
        result = prime * result + ((getPromoteId() == null) ? 0 : getPromoteId().hashCode());
        result = prime * result + ((getPromoteTypeNo() == null) ? 0 : getPromoteTypeNo().hashCode());
        result = prime * result + ((getSkuNo() == null) ? 0 : getSkuNo().hashCode());
        result = prime * result + ((getSkuNotes() == null) ? 0 : getSkuNotes().hashCode());
        result = prime * result + ((getSkuUnit() == null) ? 0 : getSkuUnit().hashCode());
        result = prime * result + ((getSkuAccount() == null) ? 0 : getSkuAccount().hashCode());
        result = prime * result + ((getSkuOrderPrice() == null) ? 0 : getSkuOrderPrice().hashCode());
        result = prime * result + ((getSkuCurrentPrice() == null) ? 0 : getSkuCurrentPrice().hashCode());
        result = prime * result + ((getSkuPrice() == null) ? 0 : getSkuPrice().hashCode());
        result = prime * result + ((getSkuFee() == null) ? 0 : getSkuFee().hashCode());
        result = prime * result + ((getSkuDeliveryDate() == null) ? 0 : getSkuDeliveryDate().hashCode());
        result = prime * result + ((getSkuWeight() == null) ? 0 : getSkuWeight().hashCode());
        result = prime * result + ((getSkuVolume() == null) ? 0 : getSkuVolume().hashCode());
        result = prime * result + ((getIsCommont() == null) ? 0 : getIsCommont().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getAddUserId() == null) ? 0 : getAddUserId().hashCode());
        result = prime * result + ((getEditTime() == null) ? 0 : getEditTime().hashCode());
        result = prime * result + ((getEditUserId() == null) ? 0 : getEditUserId().hashCode());
        return result;
    }
}